encoding/json.field.index (field)
17 uses
encoding/json (current package)
decode.go#L700: for _, i := range f.index {
encode.go#L694: for _, i := range f.index {
encode.go#L1048: index []int
encode.go#L1122: index := make([]int, len(f.index)+1)
encode.go#L1123: copy(index, f.index)
encode.go#L1124: index[len(f.index)] = i
encode.go#L1154: index: index,
encode.go#L1180: next = append(next, field{name: ft.Name(), index: index, typ: ft})
encode.go#L1193: if c := cmp.Compare(len(a.index), len(b.index)); c != 0 {
encode.go#L1202: return slices.Compare(a.index, b.index)
encode.go#L1235: return slices.Compare(i.index, j.index)
encode.go#L1240: f.encoder = typeEncoder(typeByIndex(t, f.index))
encode.go#L1264: if len(fields) > 1 && len(fields[0].index) == len(fields[1].index) && fields[0].tag == fields[1].tag {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |